package com.zys.sac.uc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zys.sac.uc.entity.SacRole;
import com.zys.sac.uc.mapper.SacRoleMapper;
import com.zys.sac.uc.service.ISacRoleService;
import com.zys.sac.uc.vo.RoleInfoVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author junekzhong
 * @since 2023-12-20
 */
@Service
public class SacRoleServiceImpl extends ServiceImpl<SacRoleMapper, SacRole> implements ISacRoleService {

    @Autowired
    private SacRoleMapper sacRoleMapper;

    @Override
    public List<SacRole> findByUserCode(String userCode) {
        return sacRoleMapper.findByUserCode(userCode);
    }
}
